<template lang="pug">
  keep-alive
    kalix-table(bizKey="markingnumcount" title="阅卷数统计列表"
      v-bind:targetURL="targetUrl" v-bind:tableFields="tableFields" bizSearch="MarkingNumCountSearch"
      v-bind:btnList="btnList" v-bind:bizDialog="bizDialog" v-bind:toolbarBtnList="toolbarBtnList"
      ref="markingnumcountTable")
</template>

<script type="text/ecmascript-6">
  import {MarkingNumCountURL} from '../config.toml'
  import {markingNumCountBtnList} from './config'

  export default {
    name: 'kalix-exam-markingnumcount',
    data() {
      return {
        targetUrl: MarkingNumCountURL,
        btnList: markingNumCountBtnList,
        tableFields: [
          {prop: 'count', label: '阅卷数'},
          {prop: 'name', label: '阅卷人'},
          {prop: 'subject', label: '科目'},
          {prop: 'examName', label: '考试名称'},
          {prop: 'examStart', label: '考试时间'}
        ],
        bizDialog: [
          {id: 'view', dialog: 'MarkingNumCountView'}
        ],
        toolbarBtnList: [
          {id: 'add', isShow: false}
        ]
      }
    }
  }
</script>

<style scoped>

</style>
